package com.lxl.bt.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Create by lvxinlong  229608356@qq.com
 * desc
 * on
 **/
public class LoginBody implements Serializable {

    /**
     * user : {"user":{"createBy":"System","updatedBy":"System","createTime":1617781163000,"updateTime":1617781163000,"id":6780,"roles":[],"job":{"id":12,"name":"经销商","jobSort":4},"jobId":null,"username":"18961768060","nickName":"18961768060","email":null,"phone":"18961768060","gender":null,"avatarName":null,"avatarPath":"https://apposs.tailgvip.com//head/tailg.png","enabled":true,"pwdResetTime":null,"isFirst":null,"macCode":null,"isLock":null,"isValid":"123456","loginAddress":null,"deleteStatus":false,"distributorId":null,"storeId":null,"isShopLeader":null,"guideExamineStatus":0,"enableReason":null,"isMain":null,"custNo":null,"custId":null,"custDataId":null,"vistorCode":"59j5g6","isValidCard":null,"card":null,"videoUrl":null,"uid":null},"dataScopes":[],"roles":[]}
     * token : Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxODk2MTc2ODA2MCIsImF1dGgiOiIiLCJqdGkiOiIyNWY3NzBjZjU5OTM0MWZkYjY3MTliNDc3OTI4ODYyMiIsImV4cCI6MTYyMDM3NDU1OX0.6mxguIphPBtJ-LdfnVduOXdl2taVUph0OiGm8WxzqQQvzitJm4zlHxdg37ZoKiMxHiPu-EmtqrZdvRs_RC7E8w
     */

    private UserBeanX user;
    private String token;

    public UserBeanX getUser() {
        return user;
    }

    public void setUser(UserBeanX user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class UserBeanX implements Serializable{
        /**
         * user : {"createBy":"System","updatedBy":"System","createTime":1617781163000,"updateTime":1617781163000,"id":6780,"roles":[],"job":{"id":12,"name":"经销商","jobSort":4},"jobId":null,"username":"18961768060","nickName":"18961768060","email":null,"phone":"18961768060","gender":null,"avatarName":null,"avatarPath":"https://apposs.tailgvip.com//head/tailg.png","enabled":true,"pwdResetTime":null,"isFirst":null,"macCode":null,"isLock":null,"isValid":"123456","loginAddress":null,"deleteStatus":false,"distributorId":null,"storeId":null,"isShopLeader":null,"guideExamineStatus":0,"enableReason":null,"isMain":null,"custNo":null,"custId":null,"custDataId":null,"vistorCode":"59j5g6","isValidCard":null,"card":null,"videoUrl":null,"uid":null}
         * dataScopes : []
         * roles : []
         */

        private UserBean user;
        private List<?> dataScopes;
        private List<?> roles;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public List<?> getDataScopes() {
            return dataScopes;
        }

        public void setDataScopes(List<?> dataScopes) {
            this.dataScopes = dataScopes;
        }

        public List<?> getRoles() {
            return roles;
        }

        public void setRoles(List<?> roles) {
            this.roles = roles;
        }

        public static class UserBean implements Serializable {
            /**
             * createBy : System
             * updatedBy : System
             * createTime : 1617781163000
             * updateTime : 1617781163000
             * id : 6780
             * roles : []
             * job : {"id":12,"name":"经销商","jobSort":4}
             * jobId : null
             * username : 18961768060
             * nickName : 18961768060
             * email : null
             * phone : 18961768060
             * gender : null
             * avatarName : null
             * avatarPath : https://apposs.tailgvip.com//head/tailg.png
             * enabled : true
             * pwdResetTime : null
             * isFirst : null
             * macCode : null
             * isLock : null
             * isValid : 123456
             * loginAddress : null
             * deleteStatus : false
             * distributorId : null
             * storeId : null
             * isShopLeader : null
             * guideExamineStatus : 0
             * enableReason : null
             * isMain : null
             * custNo : null
             * custId : null
             * custDataId : null
             * vistorCode : 59j5g6
             * isValidCard : null
             * card : null
             * videoUrl : null
             * uid : null
             */

            private String createBy;
            private String updatedBy;
            private long createTime;
            private long updateTime;
            private int id;
            private JobBean job;
            private Object jobId;
            private String username;
            private String nickName;
            private Object email;
            private String phone;
            private Object gender;
            private Object avatarName;
            private String avatarPath;
            private boolean enabled;
            private Object pwdResetTime;
            private Object isFirst;
            private Object macCode;
            private Object isLock;
            private String isValid;
            private Object loginAddress;
            private boolean deleteStatus;
            private Object distributorId;
            private Object storeId;
            private Object isShopLeader;
            private int guideExamineStatus;
            private Object enableReason;
            private Object isMain;
            private Object custNo;
            private Object custId;
            private Object custDataId;
            private String vistorCode;
            private Object isValidCard;
            private Object card;
            private Object videoUrl;
            private Object uid;
            private List<?> roles;

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public String getUpdatedBy() {
                return updatedBy;
            }

            public void setUpdatedBy(String updatedBy) {
                this.updatedBy = updatedBy;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public JobBean getJob() {
                return job;
            }

            public void setJob(JobBean job) {
                this.job = job;
            }

            public Object getJobId() {
                return jobId;
            }

            public void setJobId(Object jobId) {
                this.jobId = jobId;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public Object getEmail() {
                return email;
            }

            public void setEmail(Object email) {
                this.email = email;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public Object getGender() {
                return gender;
            }

            public void setGender(Object gender) {
                this.gender = gender;
            }

            public Object getAvatarName() {
                return avatarName;
            }

            public void setAvatarName(Object avatarName) {
                this.avatarName = avatarName;
            }

            public String getAvatarPath() {
                return avatarPath;
            }

            public void setAvatarPath(String avatarPath) {
                this.avatarPath = avatarPath;
            }

            public boolean isEnabled() {
                return enabled;
            }

            public void setEnabled(boolean enabled) {
                this.enabled = enabled;
            }

            public Object getPwdResetTime() {
                return pwdResetTime;
            }

            public void setPwdResetTime(Object pwdResetTime) {
                this.pwdResetTime = pwdResetTime;
            }

            public Object getIsFirst() {
                return isFirst;
            }

            public void setIsFirst(Object isFirst) {
                this.isFirst = isFirst;
            }

            public Object getMacCode() {
                return macCode;
            }

            public void setMacCode(Object macCode) {
                this.macCode = macCode;
            }

            public Object getIsLock() {
                return isLock;
            }

            public void setIsLock(Object isLock) {
                this.isLock = isLock;
            }

            public String getIsValid() {
                return isValid;
            }

            public void setIsValid(String isValid) {
                this.isValid = isValid;
            }

            public Object getLoginAddress() {
                return loginAddress;
            }

            public void setLoginAddress(Object loginAddress) {
                this.loginAddress = loginAddress;
            }

            public boolean isDeleteStatus() {
                return deleteStatus;
            }

            public void setDeleteStatus(boolean deleteStatus) {
                this.deleteStatus = deleteStatus;
            }

            public Object getDistributorId() {
                return distributorId;
            }

            public void setDistributorId(Object distributorId) {
                this.distributorId = distributorId;
            }

            public Object getStoreId() {
                return storeId;
            }

            public void setStoreId(Object storeId) {
                this.storeId = storeId;
            }

            public Object getIsShopLeader() {
                return isShopLeader;
            }

            public void setIsShopLeader(Object isShopLeader) {
                this.isShopLeader = isShopLeader;
            }

            public int getGuideExamineStatus() {
                return guideExamineStatus;
            }

            public void setGuideExamineStatus(int guideExamineStatus) {
                this.guideExamineStatus = guideExamineStatus;
            }

            public Object getEnableReason() {
                return enableReason;
            }

            public void setEnableReason(Object enableReason) {
                this.enableReason = enableReason;
            }

            public Object getIsMain() {
                return isMain;
            }

            public void setIsMain(Object isMain) {
                this.isMain = isMain;
            }

            public Object getCustNo() {
                return custNo;
            }

            public void setCustNo(Object custNo) {
                this.custNo = custNo;
            }

            public Object getCustId() {
                return custId;
            }

            public void setCustId(Object custId) {
                this.custId = custId;
            }

            public Object getCustDataId() {
                return custDataId;
            }

            public void setCustDataId(Object custDataId) {
                this.custDataId = custDataId;
            }

            public String getVistorCode() {
                return vistorCode;
            }

            public void setVistorCode(String vistorCode) {
                this.vistorCode = vistorCode;
            }

            public Object getIsValidCard() {
                return isValidCard;
            }

            public void setIsValidCard(Object isValidCard) {
                this.isValidCard = isValidCard;
            }

            public Object getCard() {
                return card;
            }

            public void setCard(Object card) {
                this.card = card;
            }

            public Object getVideoUrl() {
                return videoUrl;
            }

            public void setVideoUrl(Object videoUrl) {
                this.videoUrl = videoUrl;
            }

            public Object getUid() {
                return uid;
            }

            public void setUid(Object uid) {
                this.uid = uid;
            }

            public List<?> getRoles() {
                return roles;
            }

            public void setRoles(List<?> roles) {
                this.roles = roles;
            }

            public static class JobBean {
                /**
                 * id : 12
                 * name : 经销商
                 * jobSort : 4
                 */

                private int id;
                private String name;
                private int jobSort;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getJobSort() {
                    return jobSort;
                }

                public void setJobSort(int jobSort) {
                    this.jobSort = jobSort;
                }
            }
        }
    }
}
